package com.powerdata.system.domain.param;

import com.powerdata.system.domain.PaimonCatalog;


import java.util.HashMap;
import java.util.List;

/**
 * @author deeprado
 * @version 1.0
 * @description
 * @date 2023/6/12 13:41
 */

public class PaimonCatalogParam extends PaimonCatalog {
    private String databaseName;
    private String tableName;
    private String newDatabaseName;
    private String newTableName;
    private Long snapshotId;
    private Long asOfTime;
    private Long toSnapshotId;
    private List<HashMap<String, String>> addData;
    private String execSql;
    private String fileName;

    private Integer pageSize;
    private Integer pageNum;
    private String orderByColumn;
    private String isAsc = "asc";

    private String execType = "spark";
    private String mode = "local";

    public String getDatabaseName() {
        return databaseName;
    }

    public void setDatabaseName(String databaseName) {
        this.databaseName = databaseName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getNewDatabaseName() {
        return newDatabaseName;
    }

    public void setNewDatabaseName(String newDatabaseName) {
        this.newDatabaseName = newDatabaseName;
    }

    public String getNewTableName() {
        return newTableName;
    }

    public void setNewTableName(String newTableName) {
        this.newTableName = newTableName;
    }

    public Long getSnapshotId() {
        return snapshotId;
    }

    public void setSnapshotId(Long snapshotId) {
        this.snapshotId = snapshotId;
    }

    public Long getAsOfTime() {
        return asOfTime;
    }

    public void setAsOfTime(Long asOfTime) {
        this.asOfTime = asOfTime;
    }

    public Long getToSnapshotId() {
        return toSnapshotId;
    }

    public void setToSnapshotId(Long toSnapshotId) {
        this.toSnapshotId = toSnapshotId;
    }

    public List<HashMap<String, String>> getAddData() {
        return addData;
    }

    public void setAddData(List<HashMap<String, String>> addData) {
        this.addData = addData;
    }

    public String getExecSql() {
        return execSql;
    }

    public void setExecSql(String execSql) {
        this.execSql = execSql;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public String getOrderByColumn() {
        return orderByColumn;
    }

    public void setOrderByColumn(String orderByColumn) {
        this.orderByColumn = orderByColumn;
    }

    public String getIsAsc() {
        return isAsc;
    }

    public void setIsAsc(String isAsc) {
        this.isAsc = isAsc;
    }

    public String getExecType() {
        return execType;
    }

    public void setExecType(String execType) {
        this.execType = execType;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }
}
